  <!--内容 star-->
<div class="AsmW100">
    <div class="Asmleftbox Left_Top_Menu">
        <div class="mt"><s></s><h2>产品管理</h2></div>
        <div class="mc childTable">
            <ul>
                <li class="Left_Menu_Off"><a href="/manage/products">产品管理</a></li>
                <li class="Left_Menu_On"><a href="/manage/products/category">产品分类管理</a></li>
                <li class="Left_Menu_Off"><a href="/manage/products/categoryattribute">产品分类属性管理</a></li>
                
            </ul>
        </div>
    </div>
    <!-- 左边菜单完 -->   
    <div class="Asmrightbox">
    <table width="100%" border="0" cellspacing="0" cellpadding="10">
        <tr>
            <td>
                <div class="Main_Menu" style="display:block;">
                    <div class="Main_Menu_On"><a href="#">添加产品分类</a></div>
                </div>
                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="Main_Table">
                    <tr>
                        <td class="Main_Table_Td">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td>&nbsp;
                                        
                                    </td>
                                    <td width="100">
                                        <input type="hidden" onclick="history.go(-1);" class="btn_Back" onfocus="this.blur();"
                                            value="点击返回" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="#FFFFFF" style="padding: 20px;" class="Asmfliter">
                            <!-- 内容开始 -->
                            <form name="edit_frm" id="ad_edit" enctype="multipart/form-data" action="/manage/products/cateaddaction" method="post">
                                
                                <table class="dataintable">
                                  <tbody><tr>   
                                    <th><span class="xing">*</span>分类名称：</th>
                                    <td><input class="t_ipt w_310" name="CategoryName" value="" maxlength="50" id="ad_title" style="color: rgb(153, 153, 153);" required><span id="ad_titleTip" style="margin: 0px; padding: 0px; background: none repeat scroll 0% 0% transparent;"  ><span class="onError_top"></span></span></td>
                                  </tr>
                                  <tr>
                                    <th> 描述：</th>
                                    <td><textarea id="dataTradeContent" name="Comment" style="width:350px;height:50px;"></textarea></td>
                                  </tr>
                                  <tr>
                                    <th> 上级分类：</th>
                                    <td>
                                        <select name="parentid">
                                        <option value="0">--一级分类--</option>
                                        <?php foreach ($category_list as $item): ?>
                                        <?php if ($model->ParentId == $item['CategoryId']): ?>
                                            <option value="<?php echo $item['CategoryId'];?>" selected><?php echo $item['CategoryName'];?></option>
                                        <?php else: ?>
                                            <option value="<?php echo $item['CategoryId'];?>" ><?php echo $item['CategoryName'];?></option>
                                        <?php endif; ?>
                                        <?php endforeach;?>
                                       
                                        </select>
                                        
                                     </td>
                                  </tr>
                                 
                                  <tr>
                                    <th></th>
                                    <td>
                                    <input type="submit" value=" 修 改 " class="btn fore" />
                                    </td>
                                  </tr>
                                </tbody>
                                </table>
                              </form>
                            <!-- 内容结束 -->
                        </td>
                    </tr>
    
                </table>
            </td>
        </tr>
    </table>
	</div>
</div>
<!--内容 end-->